<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="view/admin/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/admin/style/goods.css" />
</head>
<body>

<h2><a href="?a=brand&m=add">添加品牌</a>商品 -- 品牌列表</h2>
<div id="list">
    <table>
        <tr><th>品牌名称</th><th>官方网站</th><th>简介</th><th>操作</th></tr>
        {foreach from=$allBrand key=key item=value}    
        <tr><td>{$value->name}</td><td>{$value->url}</td><td>{$value->info}</td><td> <a href="?a=brand&m=update&id={$value->id}"><img src="view/admin/images/edit.gif" alt="编辑" title="编辑"/></a> <a href="?a=brand&m=delete&id={$value->id}"><img src="view/admin/images/drop.gif" alt="删除" title="删除" onclick="return confirm('确认删除?') ? true : false;"/></a></td></tr>
        {foreachelse}
        <tr><td colspans="4">没有任何数据</td></tr>
        {/foreach}
    </table>
</div>
<div id="page">{$page}</div>
</body>
</html>